package com.jrmf.redenvelopes.order;

import com.jrmf.redenvelopes.order.dbRouter.DynamicDataSourceRegister;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import com.alibaba.dubbo.spring.boot.annotation.EnableDubboConfiguration;

@SpringBootApplication
@MapperScan("com.jrmf.redenvelopes.order.dao")
@EnableTransactionManagement
//@EnableDubboConfiguration
@Import({DynamicDataSourceRegister.class})
public class Application {

	public static void main(String[] args) {
		SpringApplication.run(Application.class, args);
	}
}
